<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>显示坐标【${jingdu},${weidu}】的地图</title>
		<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

		<script type="text/javascript"
			src="http://api.map.baidu.com/api?v=1.2"></script>
		<script type="text/javascript" src="js/showmap.js"></script>

		<style type="text/css">
html {
	height: 100%
}

body {
	height: 100%;
	margin: 0px;
	padding: 0px
}

#container {
	height: 100%;
	width: 100%
}
</style>
	</head>

	<body>
		<div id="container"></div>

		<script type="text/javascript">
					var map = new BMap.Map("container");      
					var point = new BMap.Point(parseFloat('${jingdu}'), parseFloat('${weidu}'));
					map.centerAndZoom(point, 15);
					var marker = new BMap.Marker(point);   
					map.addOverlay(marker);
		
		</script>
	</body>
</html>
